package com.dcdata.haixin.bean;

import io.netty.buffer.ByteBuf;
import lombok.Data;

import java.io.Serializable;

/**
 * @author: xinmi
 * @date: 2020/12/7
 * @description:
 */
@Data
public class MessageRespone implements Serializable {

    public static final int MSG_HEAD = 0x7e;
    public static final int MSG_TAIL = 0x7f;

    public static final int MSG_VERSION = 0x01;

    private int totalLengh;

    private int packageType;

    private int headLengh;

    private ByteBuf msgHead;

    private ByteBuf msgBody;
}
